package com.wn.sddfp.client.user;

import com.wn.common.model.user.vo.UserInfoVo;
import com.wn.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yellow Docter
 * @date 2024-09-12
 * @desc 蜗牛创想：www.woniuxy.com
 */
@FeignClient("sddfp-system-service")
public interface UserApi {

    @GetMapping("/user/inner/findById/{userId}")
    public Result<UserInfoVo> findById(@PathVariable("userId") Long userId);
}
